var express = require('express');
var router = express.Router();
var knex = require('../util/knex')
/* GET users listing. */
router.get('/', function(req, res, next) {
  knex('user').select().then(result => {
    console.log(result)
    res.send(result);
  }).catch(error => {
      
  })
  
});

module.exports = router;
